package com.lnu_devteam.zongce.func;


import com.lnu_devteam.zongce.common.ErrorCode;

/**
 * @author xbaozi
 * @version 1.0
 * @interface ThrowExceptionFunction
 * @date 2023-02-02  19:19
 * @description 抛出异常接口
 */
@FunctionalInterface
public interface ThrowExceptionFunction {
    /**
     * @description 抛出异常
     * @author xbaozi 
     * @date 2023/2/2 19:20
     **/
    void throwException(ErrorCode errorCode);
}
